docs: don't use <keycap> tags
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Wed, 5 Feb 2014 00:29:00 +0000 (19:29 -0500)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Wed, 5 Feb 2014 00:29:00 +0000 (19:29 -0500)
gtk/gtkcellrendereraccel.c
gtk/gtkfilechooser.c
gtk/gtkfilechooserwidget.c
gtk/gtkrecentchooser.c
gtk/gtkscrollbar.c
gtk/gtkscrolledwindow.c

index a9533619642e6a4bfb0d63f43427c7a1037ccbb4..3cc7aad532784052890c65da7273e7c1e6361f80 100644 (file)
@@ -36,7 +36,7 @@
  * @Title: GtkCellRendererAccel
  *
  * #GtkCellRendererAccel displays a keyboard accelerator (i.e. a
- * key combination like <keycombo><keycap>Control</keycap><keycap>a</keycap></keycombo>.
+ * key combination like `Control + a`.
  * If the cell renderer is editable, the accelerator can be changed by
  * simply typing the new combination.
  *
index 9aa044ba88b20dc2905371f63839fa4274efddbc..909e60897dfd428196a4a336fb1f327cfcc6f148 100644 (file)
@@ -275,7 +275,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
    *
    * This signal is emitted when the user "activates" a file in the file
    * chooser.  This can happen by double-clicking on a file in the file list, or
-   * by pressing <keycap>Enter</keycap>.
+   * by pressing `Enter`.
    *
    * Normally you do not need to connect to this signal.  It is used internally
    * by #GtkFileChooserDialog to know when to activate the default button in the
index cbd1ab381dfef8e36fd913b266523a1df133cce7..2bb25aa07d93830c09bfe59217b0934e7f9709f4 100644 (file)
@@ -7175,13 +7175,13 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    * the file he wishes to select.
    *
    * The default bindings for this signal are
-   * <keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo>
+   * `Control + L`
    * with a @path string of "" (the empty
-   * string).  It is also bound to <keycap>/</keycap> with a
+   * string).  It is also bound to `/` with a
    * @path string of "`/`"
-   * (a slash):  this lets you type <keycap>/</keycap> and
+   * (a slash):  this lets you type `/` and
    * immediately type a path name.  On Unix systems, this is bound to
-   * <keycap>~</keycap> (tilde) with a @path string
+   * `~` (tilde) with a @path string
    * of "~" itself for access to home directories.
    */
   signals[LOCATION_POPUP] =
@@ -7204,8 +7204,7 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    * This is used to make the file chooser show a "Location"
    * prompt when the user pastes #GtkFileChooserWidget.
    *
-   * The default binding for this signal is
-   * <keycombo><keycap>Control</keycap><keycap>V</keycap></keycombo>.
+   * The default binding for this signal is `Control + V`.
    */
   signals[LOCATION_POPUP_ON_PASTE] =
     g_signal_new_class_handler (I_("location-popup-on-paste"),
@@ -7228,8 +7227,7 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    * prompt which the user can use to manually type the name of
    * the file he wishes to select.
    *
-   * The default binding for this signal is
-   * <keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo>.
+   * The default binding for this signal is `Control + L`.
    */
   signals[LOCATION_TOGGLE_POPUP] =
     g_signal_new_class_handler (I_("location-toggle-popup"),
@@ -7251,8 +7249,7 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    * This is used to make the file chooser go to the parent of
    * the current folder in the file hierarchy.
    *
-   * The default binding for this signal is
-   * <keycombo><keycap>Alt</keycap><keycap>Up</keycap></keycombo>.
+   * The default binding for this signal is `Alt + Up`.
    */
   signals[UP_FOLDER] =
     g_signal_new_class_handler (I_("up-folder"),
@@ -7278,8 +7275,7 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    * "/foo/bar/baz", with bar currently displayed, then this will cause
    * the file chooser to switch to the "baz" subfolder.
    *
-   * The default binding for this signal is
-   * <keycombo><keycap>Alt</keycap><keycap>Down</keycap></keycombo>.
+   * The default binding for this signal is `Alt + Down`.
    */
   signals[DOWN_FOLDER] =
     g_signal_new_class_handler (I_("down-folder"),
@@ -7301,8 +7297,7 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    * This is used to make the file chooser show the user's home
    * folder in the file list.
    *
-   * The default binding for this signal is
-   * <keycombo><keycap>Alt</keycap><keycap>Home</keycap></keycombo>.
+   * The default binding for this signal is `Alt + Home`.
    */
   signals[HOME_FOLDER] =
     g_signal_new_class_handler (I_("home-folder"),
@@ -7324,8 +7319,7 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    * This is used to make the file chooser show the user's Desktop
    * folder in the file list.
    *
-   * The default binding for this signal is
-   * <keycombo><keycap>Alt</keycap><keycap>D</keycap></keycombo>.
+   * The default binding for this signal is `Alt + D`.
    */
   signals[DESKTOP_FOLDER] =
     g_signal_new_class_handler (I_("desktop-folder"),
@@ -7350,17 +7344,11 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    * For example, if you have three bookmarks, you can pass 0, 1, 2 to
    * this signal to switch to each of them, respectively.
    *
-   * The default binding for this signal is
-   * <keycombo><keycap>Alt</keycap><keycap>1</keycap></keycombo>,
-   * <keycombo><keycap>Alt</keycap><keycap>2</keycap></keycombo>,
-   * etc. until
-   * <keycombo><keycap>Alt</keycap><keycap>0</keycap></keycombo>.  Note
-   * that in the default binding,
-   * that <keycombo><keycap>Alt</keycap><keycap>1</keycap></keycombo> is
-   * actually defined to switch to the bookmark at index 0, and so on
-   * successively;
-   * <keycombo><keycap>Alt</keycap><keycap>0</keycap></keycombo> is
-   * defined to switch to the bookmark at index 10.
+   * The default binding for this signal is `Alt + 1`, `Alt + 2`,
+   * etc. until `Alt + 0`.  Note that in the default binding, that
+   * `Alt + 1` is actually defined to switch to the bookmark at index
+   * 0, and so on successively; `Alt + 0` is defined to switch to the
+   * bookmark at index 10.
    */
   signals[QUICK_BOOKMARK] =
     g_signal_new_class_handler (I_("quick-bookmark"),
@@ -7381,8 +7369,7 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    *
    * This is used to make the file chooser display hidden files.
    *
-   * The default binding for this signal is
-   * <keycombo><keycap>Control</keycap><keycap>H</keycap></keycombo>.
+   * The default binding for this signal is `Control + H`.
    */
   signals[SHOW_HIDDEN] =
     g_signal_new_class_handler (I_("show-hidden"),
@@ -7403,8 +7390,7 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    *
    * This is used to make the file chooser show the search entry.
    *
-   * The default binding for this signal is
-   * <keycombo><keycap>Alt</keycap><keycap>S</keycap></keycombo>.
+   * The default binding for this signal is `Alt + S`.
    */
   signals[SEARCH_SHORTCUT] =
     g_signal_new_class_handler (I_("search-shortcut"),
@@ -7425,8 +7411,7 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
    *
    * This is used to make the file chooser show the Recent location.
    *
-   * The default binding for this signal is
-   * <keycombo><keycap>Alt</keycap><keycap>R</keycap></keycombo>.
+   * The default binding for this signal is `Alt + R`.
    */
   signals[RECENT_SHORTCUT] =
     g_signal_new_class_handler (I_("recent-shortcut"),
index 6c1c2d6b76cd41741952d810c277fce0ea50179a..50ff1cdcccd0f1dfc81d07dcc470c328f2c2e57e 100644 (file)
@@ -104,7 +104,7 @@ gtk_recent_chooser_default_init (GtkRecentChooserInterface *iface)
    * This signal is emitted when the user "activates" a recent item
    * in the recent chooser.  This can happen by double-clicking on an item
    * in the recently used resources list, or by pressing
-   * <keycap>Enter</keycap>.
+   * `Enter`.
    *
    * Since: 2.10
    */
index 63cdf381cd6fe11ba54cfe731d6b7f9dc2cfda6d..ecd4c7ea178ae294063f5ffe0c42e72715939420 100644 (file)
@@ -50,7 +50,7 @@
  * scrollable area. The #GtkAdjustment:step-increment and
  * #GtkAdjustment:page-increment fields are properties when the user asks to
  * step down (using the small stepper arrows) or page down (using for
- * example the <keycap>PageDown</keycap> key).
+ * example the `Page Down` key).
  */
 
 
index e17376e844b38bcef4288030e4dd313cc708b23b..5bea3e1de9ad561a2d4cd602bd9e4fd4d0bc1717 100644 (file)
@@ -520,16 +520,13 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * @direction_type: either %GTK_DIR_TAB_FORWARD or
    *   %GTK_DIR_TAB_BACKWARD
    *
-   * The ::move-focus-out signal is a
-   * <link linkend="keybinding-signals">keybinding signal</link>
-   * which gets emitted when focus is moved away from the scrolled
-   * window by a keybinding.
-   * The #GtkWidget::move-focus signal is emitted with @direction_type
-   * on this scrolled windows toplevel parent in the container hierarchy.
-   * The default bindings for this signal are
-   * <keycombo><keycap>Tab</keycap><keycap>Ctrl</keycap></keycombo>
-   * and
-   * <keycombo><keycap>Tab</keycap><keycap>Ctrl</keycap><keycap>Shift</keycap></keycombo>.
+   * The ::move-focus-out signal is a <link
+   * linkend="keybinding-signals">keybinding signal</link> which gets
+   * emitted when focus is moved away from the scrolled window by a
+   * keybinding.  The #GtkWidget::move-focus signal is emitted with
+   * @direction_type on this scrolled windows toplevel parent in the
+   * container hierarchy.  The default bindings for this signal are
+   * `Tab + Ctrl` and `Tab + Ctrl + Shift`.
    */
   signals[MOVE_FOCUS_OUT] =
     g_signal_new (I_("move-focus-out"),